import { Router } from 'express';
import brandController from '../controllers/brandController';

const router = Router();

// 商品品牌管理路由
router.post('/', brandController.createBrand);
router.get('/', brandController.getBrandList);
router.get('/stats', brandController.getBrandStats);
router.get('/visible', brandController.getAllVisibleBrands);
router.get('/:id', brandController.getBrandDetail);
router.put('/:id', brandController.updateBrand);
router.delete('/:id', brandController.deleteBrand);
router.post('/batch-delete', brandController.batchDeleteBrands);
router.patch('/:id/status', brandController.updateBrandStatus);

export default router;